package com.snatch.snatchmgr.entity.db;

import java.util.Date;

public class ThirdLive implements Cloneable{
	
	private String onlyCode; //节点来源
  
	private Integer id;
    
    private int status = 1; //足球：-1未开赛 0中场,1上半场,2下半场, 4 开始上半场加时赛 ,5 停止上半场加时赛,6 开始下班场加时赛,7 结束下半场加时赛,8 开始点球大战,9 停止点球大战
	//篮球 -1未开赛 1为第一节 2为第二节 3为第三节 4为第4节 5为加时    0中场
	//网球 -1未开赛 1为第一盘 2为第二盘 3为第三盘 4为第4盘  5第五盘    0中场	 88完赛
    private int closeStatus = 0; // 足球 是否收盘 0未收盘,1全部盘口收盘,2上半场盘口收盘,3赛事消失收盘
    
    private String showTime = "0"; // 显示时间

    private String target;
    
    private String leagueSelfid;
	private String matchSelfid;
	private int thirdMatchId;

    private String gameCode;
    
    private String matchError;

    private String leagueName;

    private String matchName;

    private String startTime;

    private Integer homeYc=0;

    private Integer awayYc=0;


	private Integer homeGoal = 0; // 主队进球数
	private Integer hhtGoal=0;//上半场主队进球数(足球上半场 篮球上半场)
	private Integer shrhGoal=0;//下半场进球数(篮球下半场)
	private Integer onehGoal=0;//第一节主队进球(篮球第一节  网球首盘)
	private Integer twohGoal=0;//第二节主队进球(篮球第二节  网球次盘)
	private Integer threehGoal=0;//第三节主队进球(篮球第三节 网球三盘)
	private Integer fourhGoal=0;//第四节主队进球(篮球第四节 网球四盘)
	private Integer fivehGoal=0;//第五节主队进球(网球五盘)
	private Integer sixhGoal=0;//第六节主队进球(篮球第三节)
	private Integer sevenhGoal=0;//第七节主队进球(篮球第四节)
	private Integer ethGoal=0;//加时赛进球数(篮球加时赛)
	private Integer scorehGoal=0;//主队得分数 网球局数获胜者
	
	private Integer awayGoal = 0; // 客队进球数
	private Integer hatGoal=0;//上半场客队进球数(足球上半场 篮球上半场)
	private Integer shraGoal=0;//客下半场进球数(篮球下半场)
	private Integer oneaGoal=0;//第一节客队进球(篮球第一节)
	private Integer twoaGoal=0;//第二节客队进球(篮球第二节)
	private Integer threeaGoal=0;//第三节客队进球(篮球第三节)
	private Integer fouraGoal=0;//第四节客队进球(篮球第四节)
	private Integer fiveaGoal=0;//第二节客队进球(篮球第二节)
	private Integer sixaGoal=0;//第三节客队进球(篮球第三节)
	private Integer sevenaGoal=0;//第四节客队进球(篮球第四节)
	private Integer etaGoal=0;//客加时赛进球数(篮球加时赛)
	private Integer scoreaGoal=0;//得分客队网球局数获胜者

	private int hboutCoal =0; //局分 网球专用
	private int aboutCoal =0; //局分 网球专用
	
	private String hscoreCoal;	//得分 网球专用
	private String ascoreCoal;  //得分 网球专用
	
	private String nowServer;   //发球方   1 为主队 2为客队 网球用到
	
	private Date lastTime;
    

	/**
	 * 克隆对象
	 */
	public ThirdLive clone() {

		ThirdLive liveMatch = null;

		try {
			liveMatch = (ThirdLive) super.clone();
		} catch (CloneNotSupportedException e) {
			e.printStackTrace();
		}

		return liveMatch;
	}
	
	
	public String toString(){
		StringBuffer bf = new StringBuffer();
		bf.append(gameCode);
		bf.append("_");
		bf.append(leagueSelfid);
		bf.append("_");
		bf.append(matchSelfid);
		bf.append("_");
		bf.append(leagueName);
		bf.append("_");
		bf.append(matchName);
		return bf.toString();
	}
	
	  public String getOnlyCode() {
			return onlyCode;
		}


		public void setOnlyCode(String onlyCode) {
			this.onlyCode = onlyCode;
		}

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTarget() {
        return target;
    }

    public void setTarget(String target) {
        this.target = target == null ? null : target.trim();
    }

    public String getGameCode() {
        return gameCode;
    }

    public void setGameCode(String gameCode) {
        this.gameCode = gameCode == null ? null : gameCode.trim();
    }

    public String getMatchError() {
		return matchError;
	}

	public void setMatchError(String matchError) {
		this.matchError = matchError;
	}


	public String getLeagueName() {
        return leagueName;
    }

    public void setLeagueName(String leagueName) {
        this.leagueName = leagueName == null ? null : leagueName.trim();
    }

    public String getMatchName() {
        return matchName;
    }

    public void setMatchName(String matchName) {
        this.matchName = matchName == null ? null : matchName.trim();
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime == null ? null : startTime.trim();
    }


    public Integer getHomeYc() {
		return homeYc;
	}


	public void setHomeYc(Integer homeYc) {
		this.homeYc = homeYc;
	}


	public Integer getAwayYc() {
		return awayYc;
	}


	public void setAwayYc(Integer awayYc) {
		this.awayYc = awayYc;
	}


	public Integer getHomeGoal() {
        return homeGoal;
    }

    public void setHomeGoal(Integer homeGoal) {
        this.homeGoal = homeGoal;
    }

    public Integer getHhtGoal() {
        return hhtGoal;
    }

    public void setHhtGoal(Integer hhtGoal) {
        this.hhtGoal = hhtGoal;
    }

    public Integer getShrhGoal() {
        return shrhGoal;
    }

    public void setShrhGoal(Integer shrhGoal) {
        this.shrhGoal = shrhGoal;
    }

    public Integer getOnehGoal() {
        return onehGoal;
    }

    public void setOnehGoal(Integer onehGoal) {
        this.onehGoal = onehGoal;
    }

    public Integer getTwohGoal() {
        return twohGoal;
    }

    public void setTwohGoal(Integer twohGoal) {
        this.twohGoal = twohGoal;
    }

    public Integer getThreehGoal() {
        return threehGoal;
    }

    public void setThreehGoal(Integer threehGoal) {
        this.threehGoal = threehGoal;
    }

    public Integer getFourhGoal() {
        return fourhGoal;
    }

    public void setFourhGoal(Integer fourhGoal) {
        this.fourhGoal = fourhGoal;
    }

    public Integer getFivehGoal() {
        return fivehGoal;
    }

    public void setFivehGoal(Integer fivehGoal) {
        this.fivehGoal = fivehGoal;
    }

    public Integer getSixhGoal() {
        return sixhGoal;
    }

    public void setSixhGoal(Integer sixhGoal) {
        this.sixhGoal = sixhGoal;
    }

    public Integer getSevenhGoal() {
        return sevenhGoal;
    }

    public void setSevenhGoal(Integer sevenhGoal) {
        this.sevenhGoal = sevenhGoal;
    }

    public Integer getEthGoal() {
        return ethGoal;
    }

    public void setEthGoal(Integer ethGoal) {
        this.ethGoal = ethGoal;
    }

    public Integer getScorehGoal() {
        return scorehGoal;
    }

    public void setScorehGoal(Integer scorehGoal) {
        this.scorehGoal = scorehGoal;
    }

    public Integer getAwayGoal() {
        return awayGoal;
    }

    public void setAwayGoal(Integer awayGoal) {
        this.awayGoal = awayGoal;
    }

    public Integer getHatGoal() {
        return hatGoal;
    }

    public void setHatGoal(Integer hatGoal) {
        this.hatGoal = hatGoal;
    }

    public Integer getShraGoal() {
        return shraGoal;
    }

    public void setShraGoal(Integer shraGoal) {
        this.shraGoal = shraGoal;
    }

    public Integer getOneaGoal() {
        return oneaGoal;
    }

    public void setOneaGoal(Integer oneaGoal) {
        this.oneaGoal = oneaGoal;
    }

    public Integer getTwoaGoal() {
        return twoaGoal;
    }

    public void setTwoaGoal(Integer twoaGoal) {
        this.twoaGoal = twoaGoal;
    }

    public Integer getThreeaGoal() {
        return threeaGoal;
    }

    public void setThreeaGoal(Integer threeaGoal) {
        this.threeaGoal = threeaGoal;
    }

    public Integer getFouraGoal() {
        return fouraGoal;
    }

    public void setFouraGoal(Integer fouraGoal) {
        this.fouraGoal = fouraGoal;
    }

    public Integer getFiveaGoal() {
        return fiveaGoal;
    }

    public void setFiveaGoal(Integer fiveaGoal) {
        this.fiveaGoal = fiveaGoal;
    }

    public Integer getSixaGoal() {
        return sixaGoal;
    }

    public void setSixaGoal(Integer sixaGoal) {
        this.sixaGoal = sixaGoal;
    }

    public Integer getSevenaGoal() {
        return sevenaGoal;
    }

    public void setSevenaGoal(Integer sevenaGoal) {
        this.sevenaGoal = sevenaGoal;
    }

    public Integer getEtaGoal() {
        return etaGoal;
    }

    public void setEtaGoal(Integer etaGoal) {
        this.etaGoal = etaGoal;
    }

    public Integer getScoreaGoal() {
        return scoreaGoal;
    }

    public void setScoreaGoal(Integer scoreaGoal) {
        this.scoreaGoal = scoreaGoal;
    }

    public Date getLastTime() {
        return lastTime;
    }

    public void setLastTime(Date lastTime) {
        this.lastTime = lastTime;
    }

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public int getCloseStatus() {
		return closeStatus;
	}

	public void setCloseStatus(int closeStatus) {
		this.closeStatus = closeStatus;
	}

	public String getShowTime() {
		return showTime;
	}

	public void setShowTime(String showTime) {
		this.showTime = showTime;
	}

	public int getHboutCoal() {
		return hboutCoal;
	}

	public void setHboutCoal(int hboutCoal) {
		this.hboutCoal = hboutCoal;
	}

	public int getAboutCoal() {
		return aboutCoal;
	}

	public void setAboutCoal(int aboutCoal) {
		this.aboutCoal = aboutCoal;
	}

	public String getHscoreCoal() {
		return hscoreCoal;
	}

	public void setHscoreCoal(String hscoreCoal) {
		this.hscoreCoal = hscoreCoal;
	}

	public String getAscoreCoal() {
		return ascoreCoal;
	}

	public void setAscoreCoal(String ascoreCoal) {
		this.ascoreCoal = ascoreCoal;
	}

	public String getNowServer() {
		return nowServer;
	}

	public void setNowServer(String nowServer) {
		this.nowServer = nowServer;
	}


	public String getLeagueSelfid() {
		return leagueSelfid;
	}


	public void setLeagueSelfid(String leagueSelfid) {
		this.leagueSelfid = leagueSelfid;
	}


	public String getMatchSelfid() {
		return matchSelfid;
	}


	public void setMatchSelfid(String matchSelfid) {
		this.matchSelfid = matchSelfid;
	}


	public int getThirdMatchId() {
		return thirdMatchId;
	}


	public void setThirdMatchId(int thirdMatchId) {
		this.thirdMatchId = thirdMatchId;
	}

    
    
}